package com.yaodian100.ec.product.entity;

/**
 * @author jinwei.lin
 *
 */
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_ORDER_COMMENT_LOG")
public class OrderCommentLog extends BaseEntity {

	private static final long serialVersionUID = 6173275198766493791L;
	
	@Id
	@Column(name = "cmlog_id")
	@GeneratedValue(generator = "gen_uuid")
	@GenericGenerator(name = "gen_uuid", strategy = "uuid")
	private String cmlogid;

	@Column(name = "cmid", length = 10)
	private String cmid;

	@Column(name = "log_type", length = 2)
	private String type;
	
	@Column(name = "fail_reason", length = 200)
	private String failReason ;

	public String getCmlogid() {
		return cmlogid;
	}

	public void setCmlogid(String cmlogid) {
		this.cmlogid = cmlogid;
	}

	public String getCmid() {
		return cmid;
	}

	public void setCmid(String cmid) {
		this.cmid = cmid;
	}

	public String getFailReason() {
		return failReason;
	}

	public void setFailReason(String failReason) {
		this.failReason = failReason;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	

}
